Enterprise Version
stochastic sampling